package com.elh.nio.server;

import java.io.IOException;
import java.net.ServerSocket;

/**
 * @author liulei
 **/
public class Server {

    public static void main(String[] args) throws IOException {
        ServerSocket serverSocket = new ServerSocket(8088);
        System.out.println("阻塞开始=" + System.currentTimeMillis());
        serverSocket.accept();
        System.out.println("阻塞介绍=" + System.currentTimeMillis());
    }

}
